<template>
    <div class="columns">
      <div class="column is-three-quarters" style="max-height: 600px;overflow:auto">
        <transition name="animate__animated animate__bounce"
                    enter-active-class="animate__fadeInLeft"
                    appear>
        <el-card shadow="never">
        <el-tabs v-model="activeName" type="card">
        <el-tab-pane label="📚 查阅单词" name="first">
          <LearnWord></LearnWord>
        </el-tab-pane>
        <el-tab-pane label="🧗‍ 在线阅读" name="second">
          <Book></Book>
        </el-tab-pane>
          <el-tab-pane label="📜‍ 在线实战" name="third">
          <TitleItem></TitleItem>
          </el-tab-pane>
        </el-tabs>
        </el-card>
        </transition>
      </div>
      <div class="column">
        <Collect></Collect>
      </div>
    </div>

</template>

<script>
import LearnWord from "../../components/Learn/LearnWord";
import CardBar from "../card/CardBar";
import Collect from "./Collect";
import Book from "../../components/Learn/Book";
import TitleItem from "../../components/Learn/TitleItem";
export default {
  name: "Learn",
  components: {TitleItem, Collect, CardBar, LearnWord,Book},
  data(){
    return{
      activeName:'first',
    }
  },
  methods:{

  }
}
</script>

<style scoped>
</style>